package archsw0904.controller.catalog;
import java.math.BigDecimal;
import java.util.List;

import javax.ejb.Remote;

import archsw0904.model.Book;


@Remote
public interface CatalogRemote {
	
	Book createBook(String isbn, String author, String title, String category,
			String tag, BigDecimal price, String editor, Integer availableCopies,String year, boolean shopWindow, int token);

	List<Book> queryBook(QueryParam fields)throws archsw0904.controller.catalog.NullMandatoryFieldException;
	
	List<Book> queryPromotions();
}